package org.ly.controller;

import org.ly.config.CustomConfig;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    private final CustomConfig customConfig;

    public TestController(CustomConfig customConfig) {
        this.customConfig = customConfig;
    }

    @RequestMapping(value = "/test")
    public String test() {
        return customConfig.getBeiXiangEopsMetricTopic();
    }
}
